<div class="header">
    <back-Btn cleancache="no"></back-Btn>
    {{addjoinpeople.title}}
    <div class="right-btn" ng-click="addjoinpeople.confirm()">
        确定
    </div>
</div>
<div class="pd20">
    <div class="people-search lh40 mt10">
        <input type="text" placeholder="请输入成员姓名" ng-model="addjoinpeople.search">
    </div>
</div>
<div class="people-list">
    <label class="list-item celled flex lh60" ng-repeat="item in addjoinpeople.peoplelist|filter:addjoinpeople.search">
        <div class="list-item-userpic w25">
            <div class="item-avtar tc">{{item.userName| username}}</div>
        </div>
        <div class="list-item-content w75 cl">
            <div class="list-item-title fw fl">{{item.userName}}</div>
            <input type="radio" class="radio fr" value="{{item}}" name="userid-type" ng-model="addjoinpeople.peopleIdObj" ng-if="addjoinpeople.type=='incharge'||addjoinpeople.type=='subtask'">
            <input type="checkbox" class="radio fr" value="{{item}}" name="userid-type" ng-model="addjoinpeople.peopleIdObj[$index]" ng-checked="addjoinpeople.peopleIdObj[$index]" ng-if="addjoinpeople.type=='participator'||addjoinpeople.type=='participator1'" ng-change="addjoinpeople.handleUser(item,$index)">
        </div>
    </label>
</div>
